package com.unit6.lq.test;

import com.unit6.lq.service.UserService;

/**
 * @author 李琦 on 2021/8/20.
 * @version java version "16.0.1" 2021-04-20
 * 方法测试
 */
public class test1 {
    public static void main(String[] args) throws Exception {
//        String result=UserService.login("admin","123456");
//        System.out.println(result);//测试登录

//        String result=UserService.findUserName("aaa");
//        System.out.println(result);//用户名是否存在

//        String result=UserService.register("尝试注册","123456");
//        System.out.println(result);//是否注册成功

        String result=UserService.delUser("尝试注册","123456");
        System.out.println(result);//注销用户
    }
}
